package com.jacky;

import org.junit.Test;

public class C3P0Tests {
    @Test
    public void test(){
        ComboPooledDataSource cpds = new ComboPooledDataSource();
        cpds.setDriverClass( "org.postgresql.Driver" ); //loads the jdbc driver
        cpds.setJdbcUrl( "jdbc:postgresql://localhost/testdb" );
        cpds.setUser("dbuser");
        cpds.setPassword("dbpassword");
        System.out.println(cpds);
    }
}
